#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os

SRC_DIR = "/src"
CONF_DIR = "/kellan/conf/k8s/"
TEMPLATES_DIR = "/kellan/k8s/templates/"
IMAGE_REPO = "registry:5000"
KEYS_DIR = "/kellan/conf/variables/keys"
KEYS = {
    "admin": {
        "key_id_file": os.path.join(KEYS_DIR, ".access_key_id"),
        "access_secret_key_file": os.path.join(KEYS_DIR, ".access_secret_key"),
        "secret_access_key_file": os.path.join(KEYS_DIR, ".secret_access_key"),
    },
    "boss": {
        "key_id_file": os.path.join(KEYS_DIR, ".boss_access_key_id"),
        "access_secret_key_file": os.path.join(KEYS_DIR, ".boss_access_secret_key"),
        "secret_access_key_file": os.path.join(KEYS_DIR, ".boss_secret_access_key"),
    },
    "vdi": {
        "key_id_file": os.path.join(KEYS_DIR, ".vdi_access_key_id"),
        "access_secret_key_file": os.path.join(KEYS_DIR, ".vdi_access_secret_key"),
        "secret_access_key_file": os.path.join(KEYS_DIR, ".vdi_secret_access_key"),
    },
    "qingstor": {
        "key_id_file": os.path.join(KEYS_DIR, ".qingstor_access_key_id"),
        "access_secret_key_file": os.path.join(KEYS_DIR, ".qingstor_access_secret_key"),
        "secret_access_key_file": os.path.join(KEYS_DIR, ".qingstor_secret_access_key"),
    },
    "console": {
        "key_id_file": os.path.join(KEYS_DIR, ".console_key_id"),
        "access_secret_key_file": os.path.join(KEYS_DIR, ".console_secret_key"),
        "secret_access_key_file": os.path.join(KEYS_DIR, ".secret_console_key"),
    },
}
PASSWORDS = {
    "pg": os.path.join(KEYS_DIR, ".pgserver_passwd"),
}
